package pro.wxls.video.feign;

import lombok.AllArgsConstructor;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import pro.wxls.video.feigna.IVideoProvider;

@RestController
@AllArgsConstructor
@RequestMapping("provider")
public class VideoProvider implements IVideoProvider {

    @Override
    @GetMapping("lists")
    public String getVideoList() {
        return "get video list";
    }
}
